<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>flex-shrink效果</title>
		<style>
			#main{
				display: flex;
				flex-flow: row nowrap;
				 
				border: 2px groove yellow;
				align-content: space-around;
				justify-content: center;
			}
			#main div{
				height: 330px;
				width: 330px;
				background-color: blueviolet;
				color: white;
				margin: 5px;
				font-size: 40px;
				text-align: center;
				flex-shrink:1;
			}
			#main div#d5{
				order: -99;
			}
		</style>
	</head>
	<body>
		<div id="main">
			<div>1</div>
			<div>2</div>
			<div style="order:-98">3</div>
			<div>4</div>
			<div id="d5">5</div>
			<div>6</div>
		</div>
	</body>
</html>